<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
	<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>图片管理</title>
<base href="<%=basePath%>" />
<link rel="stylesheet" type="text/css" href="jquery-easyui-1.4.1/themes/default/easyui.css">
<link rel="stylesheet" type="text/css" href="css/icon.css">
<link rel="stylesheet" type="text/css" href="jquery-easyui-1.4.1/themes/color.css">
<script type="text/javascript" src="js/jquery-1.8.2.min.js"></script>
<script type="text/javascript" src="jquery-easyui-1.4.1/jquery.easyui.min.js"></script>
<script type="text/javascript" src="jquery-easyui-1.4.1/plugins/datagrid-detailview.js"></script>
<script type="text/javascript" src="layer/layer.js"></script>
<script type="text/javascript" src="jquery-easyui-1.4.1/locale/easyui-lang-zh_CN.js"></script>
<script type="text/javascript" src="js/admin/adfodder.js"></script>
<script type="text/javascript" src="bcebos/bce-bos-uploader.bundle.js"></script>
</head>
<body>
	<div style="height: 70px; width: 100%;">
		<div style="float: left; padding: 20px 0 0 20px;">
			<label for="fodderName">文件夹名:</label> <input class="easyui-textbox"
				type="text" name="sfodderName" id="sfodderName" />
		</div>
		<div style="float: left; padding: 20px 0 0 20px;">
			<button id="searchfodder" class="easyui-linkbutton c1"
				data-options="iconCls:'icon-search'" type="button" onclick="searchfodder();">查询</button>
		</div>
		<div style="float: left; padding: 20px 0 0 20px;">
			<button id="resetFodderButtn" class="easyui-linkbutton c5"
				data-options="iconCls:'icon-no'" type="button" onclick="resetFodderButtn();">重置</button>
		</div>
	</div>
	<div id="toolbar">
			<c:forEach items="${list}" var="item">
			${item}
			</c:forEach>
	</div>
	<table id="Adfodderdirectory_table"></table>

	<div id="adfodderdlg" class="easyui-dialog"
		data-options="iconCls:'icon-save',resizable:true,modal:true"
		style="width: 400px; height: 300px; padding: 10px 20px" closed="true"
		buttons="#adfodderdlg-buttons">
		<div align="center">
			<form id="adfodderfm" class="easyui-form" data-options="novalidate:true">
				<table>
					<tbody id="adfoderTable">
						<tr>
							<td><label>文件夹名称:</label></td>
							<td><input class="easyui-textbox" id="fdName" name="fdName"
								type="text" required="true"></td>
						</tr>
					</tbody>
				</table>
			</form>
		</div>
		<div id="adfodderdlg-buttons">
			<label id="saveUrl" closed="true"></label> <a
				href="javascript:void(0)" class="easyui-linkbutton c6"
				iconCls="icon-ok" id="fodderSave" onclick="fodderSave();" style="width: 90px">保存</a>
			<a href="javascript:void(0)" class="easyui-linkbutton"
				iconCls="icon-cancel" onclick="fodderCancle();" style="width: 90px">取消</a>
		</div>
	</div>


	<div id="uploaddlg" class="easyui-dialog"
		data-options="iconCls:'icon-save',resizable:true,modal:true"
		style="width: 600px; height: 400px; padding: 10px 20px" closed="true"
		buttons="#uploaddlg-buttons">
		<div align="center">
			<form id="uploadfm" class="easyui-form" data-options="novalidate:true">
				<table>
					<tr>
						<td><label>选择文件:</label> </td>
						<td>
							<input type="file" name="file" id="file"/> 
   						 </td>
					</tr>
					<tr>
						<td><label>文件大小:</label> </td>
						<td><span id="filebyte"></span> </td>
					</tr>
					<tr>
						<td><label>当前网速:</label> </td>
						<td><span id="speed"></span> </td>
					</tr>
					<tr>
						<td><label>剩余时间:</label> </td>
						<td><span id="leftTime"></span> </td>
					</tr>
					<tr>
						<td><label>当前进度:</label> </td>
						<td colspan="2">
							<div id="p" class="easyui-progressbar" data-options="value:0" style="width:200px;"></div>
						</td>
					</tr>
					<tr>
						<td><label>上传情况:</label> </td>
						<td><span id="Issuccess"></span> </td>
					</tr>
					<tr>
						<td><label>点击上传:</label> </td>
						
						<td><a id="upload" class="easyui-linkbutton c2" data-options="disabled:true">开始上传</a></td>
					</tr>
				</table>
			</form>
		</div>
		<div id="uploaddlg-buttons">
			<label id="uploadsaveUrl" closed="true"></label>
			<a href="javascript:void(0)" class="easyui-linkbutton"
				iconCls="icon-cancel" id="uploadCancel" style="width: 90px">关闭</a>
		</div>
	</div>
	<div>
	<img id="query_image" alt="" src="" style="width: 400xp;height: 200px;" />
	
	</div>
</body>
<script type="text/javascript">

</script>
</html>